package net.diaowen.dwsurvey.entity;

import net.diaowen.common.base.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 答卷  问答题保存表
 * @author keyuan(keyuan258@gmail.com)
 * @date 2012-10-21下午9:26:43
 *
 * https://github.com/wkeyuan/DWSurvey
 * http://dwsurvey.net
 */

@Entity
@Table(name="t_sys_dict_item")
public class SysDictItem extends IdEntity{

    //所属问卷ID
    private String dictId;
    //对应的答卷信息表ID
    private String itemText;
    //所属题目ID
    private String itemValue;
    //结果
    private String description;

    private Integer sortOrder;

    public SysDictItem(){

    }
    public SysDictItem(String dictId, String itemText, String itemValue,
                   String description,Integer sortOrder) {
        this.dictId=dictId;
        this.itemText=itemText;
        this.itemValue=itemValue;
        this.description=description;
        this.sortOrder=sortOrder;
    }


    public String getDictId() {
        return dictId;
    }

    public void setDictId(String dictId) {
        this.dictId = dictId;
    }

    public String getItemText() {
        return itemText;
    }

    public void setItemText(String itemText) {
        this.itemText = itemText;
    }

    public String getItemValue() {
        return itemValue;
    }

    public void setItemValue(String itemValue) {
        this.itemValue = itemValue;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }
}
